<?php

class Tag_model extends CI_Model {
    function __construct(){
        parent::__construct();
    }

	function getTagByIds($ids = array()){
		$this->db->from("wb_celebrity");
		foreach($ids as $key=>$value){
			$this->db->or_where("uid",$value);
		}
		$query = $this->db->get();
		return $query->result_array();
	}
}

?>